<?php 
/* SVN FILE: $Id$ */
/* Deposit Test cases generated on: 2009-04-24 21:04:04 : 1240607344*/
App::import('Model', 'Deposit');

class DepositTestCase extends CakeTestCase {
	var $Deposit = null;
	var $fixtures = array('app.deposit');

	function startTest() {
		$this->Deposit =& ClassRegistry::init('Deposit');
	}

	function testDepositInstance() {
		$this->assertTrue(is_a($this->Deposit, 'Deposit'));
	}

	function testDepositFind() {
		$this->Deposit->recursive = -1;
		$results = $this->Deposit->find('first');
		$this->assertTrue(!empty($results));

		$expected = array('Deposit' => array(
			'id'  => 'Lorem ipsum dolor sit amet',
			'number'  => 'Lorem ipsum dolor ',
			'banc'  => 'Lorem ipsum dolor sit amet',
			'amount'  => 'Lorem ipsum dolor sit amet',
			'depositdate'  => '2009-04-24',
			'created'  => '2009-04-24 21:09:04',
			'modified'  => '2009-04-24 21:09:04'
		));
		$this->assertEqual($results, $expected);
	}
}
?>